package com.tim.app.server.result;


import java.io.Serializable;
import java.util.List;

/**
 * 初始化
 */
public class InitResult extends ResponseResult implements Serializable {

    private static final long serialVersionUID = -6787650464251166958L;

    private Res res;

    public Res getRes() {
        return res;
    }

    public void setRes(Res res) {
        this.res = res;
    }

    public static class Res {

        private Data dataclienturl;

        public Data getDataclienturl() {
            return dataclienturl;
        }

        public void setDataclienturl(Data dataclienturl) {
            this.dataclienturl = dataclienturl;
        }

        public static class Data{
            public static final int STATE_NORMAL = 0;//正常
            public static final int STATE_NEED_UPDATE = 1;//需要更新
            public static final int STATE_UPDATE = 2;//强制更新

            private int id;
            private String clientName;  //客户端渠道名称
            private int operateStat; //包运营状态0正常1需要更新或者下载
            private String serverwebUrl; //web接口连接服务器地址开头
            private String clientVersion;
            private String clientType;
            private String updateUrl;
            private String updateVersion;
            private String updateContent;
            private int isDebug;
            private long createTime;
            private long updateTime;


            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getClientName() {
                return clientName;
            }

            public void setClientName(String clientName) {
                this.clientName = clientName;
            }

            public int getOperateStat() {
                return operateStat;
            }

            public void setOperateStat(int operateStat) {
                this.operateStat = operateStat;
            }

            public String getServerwebUrl() {
                return serverwebUrl;
            }

            public void setServerwebUrl(String serverwebUrl) {
                this.serverwebUrl = serverwebUrl;
            }

            public String getClientVersion() {
                return clientVersion;
            }

            public void setClientVersion(String clientVersion) {
                this.clientVersion = clientVersion;
            }

            public String getClientType() {
                return clientType;
            }

            public void setClientType(String clientType) {
                this.clientType = clientType;
            }

            public String getUpdateUrl() {
                return updateUrl;
            }

            public void setUpdateUrl(String updateUrl) {
                this.updateUrl = updateUrl;
            }

            public String getUpdateVersion() {
                return updateVersion;
            }

            public void setUpdateVersion(String updateVersion) {
                this.updateVersion = updateVersion;
            }

            public String getUpdateContent() {
                return updateContent;
            }

            public void setUpdateContent(String updateContent) {
                this.updateContent = updateContent;
            }

            public int getIsDebug() {
                return isDebug;
            }

            public void setIsDebug(int isDebug) {
                this.isDebug = isDebug;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }
        }

    }

}
